package xs.szw.service.model.pojo.gen;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 代码生成基础配置表
 * @TableName gen_config
 */
@TableName(value ="gen_config")
@Data
public class Config implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 表名
     */
    @TableField(value = "table_name")
    private String tableName;

    /**
     * 模块名
     */
    @TableField(value = "module_name")
    private String moduleName;

    /**
     * 包名
     */
    @TableField(value = "package_name")
    private String packageName;

    /**
     * 业务名
     */
    @TableField(value = "business_name")
    private String businessName;

    /**
     * 实体类名
     */
    @TableField(value = "entity_name")
    private String entityName;

    /**
     * 作者
     */
    @TableField(value = "author")
    private String author;

    /**
     * 上级菜单ID，对应sys_menu的id 
     */
    @TableField(value = "parent_menu_id")
    private Long parentMenuId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 是否删除
     */
    @TableField(value = "is_deleted")
    private Boolean isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}